<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>

<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" 
     import="java.util.List"
     import="java.util.ArrayList"
     import="java.util.Map"
     import="java.util.HashMap"
     import="dto.MItem"
     import="util.*"
     import="java.io.IOException"
     import="util.NetworkConfig"
     %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>login</title>

    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
    
    <!-- 自定义 -->
    <script src="js/login.js"></script>
    <link href="css/regist.css" rel="stylesheet" type="text/css" />
    
    <style type="text/css">
    </style>
    
</head>
<body>

<script type="text/javascript"></script>

<div class="main-content">       
	<div class="container">
	    <div class="row">
	        <div class="col-md-offset-3 col-md-6">
	            <form class="form-horizontal" action="login" method="post">
	                <span class="heading">Login</span>
	                <div class="form-group">
	                    
	                    <input type="text" name="name" class="form-control" id="inputName" placeholder="用户名" value="${name}">
	                    <span id = "validNameInfo"></span>
	                    <i class="fa fa-user"></i>
	                </div>
	                <div class="form-group help">
	                 
	                    <input type="password" name="password" class="form-control" id="inputPsd" placeholder="密　码"><span id="psdInfo" style="display:block">${info}</span>
	                    <i class="fa fa-lock"></i>
	                    <a href="#" class="fa fa-question-circle"></a>
	                </div>
	                <div class="form-group">
	
	                    <button type="submit" class="btn btn-default" >login</button>
	                </div>
	            </form>
	        </div>
	    </div>
	</div>
</div>
</body>
</html>